package com.ruoyi.generator.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.generator.entity.ClUser;
import com.ruoyi.generator.entity.MaintenancePlan;
import com.ruoyi.generator.entity.PlanAssociation;
import com.ruoyi.generator.entity.bo.MaintenancPlaneBO;
import com.ruoyi.generator.entity.bo.PlanScheduleCountBo;
import com.ruoyi.generator.po.*;
import com.ruoyi.generator.vo.MaintenanceAppVO;

import java.util.List;

public interface MaintenanceService {
    List<MaintenanceScheduleShift> selectScheduleList();
    List<ClUser> selectByrs(ClUser cl);
    List<MaintenanceAppVO> getMaintenanceListByStatus(MaintenanceAppVO m);
    List<MaintenancePlan> selectMaintenancePlanList(Maintenance Maintenance);
    /**
     * 统计任务状态的数量 Tz
     *
     * @param
     */
    List<PlanScheduleCountBo> selectMainScheduleCount();
    List<WushuiSchedule> getMaintenanceSchedules();

    int addMaintenancePlan(MaintenancPlaneBO maintenancPlaneBO);
}
